import request from "@/common/request"

//查询课程对应的章节及课件
export const detailByCourseId = courseId => {
	return request("get", "/study/course/studyCourseChapter/detail/" + courseId)
}

//保存课程对应的章节及课件
export const saveStudyCourseChapter = data => {
	return request("post", "/study/course/studyCourseChapter/save", data)
}
